﻿/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/

CKEDITOR.editorConfig = function( config )
{
	// Define changes to default configuration here. For example:
	// config.language = 'fr';
	// config.uiColor = '#AADC6E';
	// 换行方式
	config.enterMode = CKEDITOR.ENTER_BR;
	// 当输入：shift+Enter是插入的标签
	config.shiftEnterMode = CKEDITOR.ENTER_BR;//
	//图片处理
	config.pasteFromWordRemoveStyles = true;
	config.filebrowserImageUploadUrl = "upimage_ck.html";
	// 去掉ckeditor“保存”按钮
	config.removePlugins = 'save';
	
	config.toolbar  =  
	    [  
	            ['Bold','Italic','Underline','Strike'],  
	            ['Font','FontSize','TextColor','BGColor'],  
	            ['Link','Image'],  
	            ['Smiley'],  
	            ['Source']  
	            
	    ];  
	    config.skin='v2';  
	    config.width =800; //宽度   
	    config.height = 300; //高度   
	    config.language = 'zh-cn';  
	    config.uiColor = '#D9E1F7';  
	    config.font_names = '宋体/宋体;黑体/黑体;仿宋/仿宋_GB2312;楷体/楷体_GB2312;隶书/隶书;幼圆/幼圆;'+ config.font_names ;  
};
